{% extends "votes/base.html" %}
{% block content %}

<h1> Welcome {{user.username}}</h1>
<h2>Recent Comments</h2>
{% if comments %}
<ul>
{% for c in comments %}
<li><a href="/users/{{c.user.username}}">{{c.user.username}}</a> ({{c.sentiment}}) {{c.text}}</li>
{%endfor%}
{%endif%}

<h2>Recent Comments by Friends</h2>

{% endblock %}